package com.psy.counseling.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * visitorId ：初访员id
 * studentId : 学生id
 * checkState : 审核状态
 * startTime ： 开始时间
 * endTime ： 结束时间
 * place ： 地点
 * score ： 计分结果
 * day : 周几
 * level ： 危机等级
 * type ：问题类型
 * conclusion ：初访结论
 * @author 梁学儒
 * @since 2022-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FirstVisit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long visitorId;

    private Long studentId;

    private String checkState;

    private String startTime;

    private String endTime;

    private String place;

    private Integer score;

    private Integer day;

    private String level;

    private String type;

    private String conclusion;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;


}
